module always_latch_process;

logic [7:0] a, b, sum;
logic en = 0;
always_latch begin
    if (en) begin
        sum <= a + b;
    end
end

initial begin
    $monitor ("@%g en = %b, a = %h b = %h sum = %h", $time, en, a, b, sum);
    #1 a = 1;
    #1 b = 1;
    #5 a = 10;
    #1 $finish;
end

always  #1  en = ~en;

endmodule
